using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Data.Entity;

namespace <Database>
{
    [Table("<TableU>", Schema="<OwnerU>")]
    public class <OwnerU>_<TableU>
    {

    <If Loop>
      <IsPKey>
        [Key]
        [Column(Order = <iVarA>)]
        <iVarA=+[1]>
      <IsNullable>
      <And>
      <IsNull>
        public <VBType>? <FieldU> { get; set; }

      <IsNullable>
      <And>
      <IsNotNull>
        public <VBType> <FieldU> { get; set; }

      <IsNotNullable>
        public <VBType> <FieldU> { get; set; }

    </If Loop>
    }
}